{% extends "base.html" %}

{% block title %}创建圈子 - 墨韵图书共享平台{% endblock %}

{% block content %}
<div class="container py-4">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card ink-card">
                <div class="card-header">
                    <h5 class="mb-0">创建新圈子</h5>
                </div>
                <div class="card-body">
                    <form method="post">
                        <div class="mb-3">
                            <label for="name" class="form-label">圈子名称</label>
                            <input type="text" class="form-control" id="name" name="name" required>
                            <div class="form-text">请输入一个简洁明了的圈子名称</div>
                        </div>
                        
                        <div class="mb-3">
                            <label for="description" class="form-label">圈子描述</label>
                            <textarea class="form-control" id="description" name="description" rows="5"></textarea>
                            <div class="form-text">简要描述此圈子的主题和讨论内容</div>
                        </div>
                        
                        <div class="d-flex justify-content-between">
                            <a href="{{ url_for('circles') }}" class="btn btn-secondary">
                                <i class="fas fa-arrow-left me-1"></i> 返回
                            </a>
                            <button type="submit" class="btn btn-primary">
                                <i class="fas fa-plus me-1"></i> 创建圈子
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %} 